package Demo2;

public class WashMachine extends ElectricalEquipment{
   private String MotorType;
   private String WashingCapacity;

   public WashMachine() {
   }

   public WashMachine(String brand, String model, String color, String price, String motorType, String washingCapacity) {
      super(brand, model, color, price);
      MotorType = motorType;
      WashingCapacity = washingCapacity;
   }

   public String getMotorType() {
      return MotorType;
   }

   public void setMotorType(String motorType) {
      MotorType = motorType;
   }

   public String getWashingCapacity() {
      return WashingCapacity;
   }

   public void setWashingCapacity(String washingCapacity) {
      WashingCapacity = washingCapacity;
   }
}
